# RT-Thread building script for component

from building import *

cwd = GetCurrentDir()

src = []
CPPPATH = [cwd]

if GetDepend(['SPIFLASH_W25QXX_ENABLE']):
    src += ['w25qxx.c']

group = DefineGroup('Drivers', src , depend = ['PKG_USING_SPIFLASH'], CPPPATH = CPPPATH)

Return('group')
